package lrz.shiftplanner.components;

import java.awt.Color;

import lrz.shiftplanner.calendar.ShiftType;

public class Colors {
	
	// background color for unassigned days with no shifts applied 
	public static final Color cHolidayBG = Color.getHSBColor(0.0f, 0.0f, 0.9f);
	public static final Color cWorkingDayBG = Color.WHITE;
	//public static final Color cMarkedBG2 = new Color(200, 200, 255);
	public static final Color cMarkedBG2 = new Color(100, 100, 155);
	public static final Color cMarkedBG = new Color(100, 255, 150);
	public static final Color cHintBG = new Color(100, 255, 150);
	// background color for unassigned days with shifts applied
	public static final Color cInvalidBG = new Color(255, 200, 200);
	public static final Color cStandbyBG = new Color(255, 255, 200);
	public static final Color cCorrectBG = new Color(200, 255, 200);
	public static final Color cUpdatedBG = new Color(255, 0, 0);
	public static final Color cMeetingDayBG = new Color(255, 128,255);
	// font colors
	public static final Color cHintF = Color.GRAY;
	public static final Color cHint2F = Color.LIGHT_GRAY;
	public static final Color cSolidF = Color.BLACK;
	public static final Color cHolidayF = Color.BLUE;
	public static final Color cMeetingDayF = Color.MAGENTA;
	// border colors
	public static final Color cInvalidB = Color.GRAY;
	public static final Color cStandbyB = Color.YELLOW;
	public static final Color cCorrectB = Color.GREEN;
	
	public static Color getShiftColor(ShiftType s) {
		switch (s) {
		case A:
		case W1:
		case W3:
			return cMarkedBG;
		default:
			return cMarkedBG2;

		}
	}

}
